package com.chuangke.metadata.service;

import com.chuangke.metadata.entity.SysBillSerial;

import java.util.List;

public interface SysBillSerialService {

	String nextSerial(String billKey);
	
	String nextSerial(String billKey, String scope);
	
	String nextSerialId(String billKey, String scope,int length);
	
	void save(SysBillSerial record) ;
	
	SysBillSerial query(String billKey, String scope) ;

	void remove(List<String> detailIds);

	List<SysBillSerial> list(String billKey);
}
